#ifndef IOSENSOR_H
#define IOSENSOR_H

#include "main.h"


uint32_t get_light(void);

void beep_ding(void);

void play_music(uint8_t temp);



uint32_t get_wind_direction(void);

float get_wind_speed(void);

void set_fun(uint8_t temp);

void set_control(uint8_t setting);

uint8_t get_smoke(void);

uint8_t get_people(void);

uint32_t get_soil_humidity(void); // 获取土壤湿度

#endif


